<?php
/**
 * /nmox/example.php
 * 
 * @author David Christian Liedle <david.liedle@gmail.com>
 * @link   http://nmox.org/
 *
 */

require_once("../main/nmox.php");

$myXHTML = new XHTML;
$myXHTML->set_title("Example NMOX Page");
$myXHTML->set_body( xP(xDD()." ".xD()));
$myXHTML->add_body( xHR() );
$myXHTML->add_body(xP("Hello there."));

$myXHTML->add_body( xP(xB("hello, there")) );

$myXHTML->add_body( xP("This is a properly done paragraph.") );
$myXHTML->add_body( xHR() );
$myXHTML->add_body( xChar("(c)")."2008" );

$myXHTML->bake();
$myXHTML->commit();
//$X->secure_level(2);
//$myXHTML->bake();
//$myXHTML->write();
